package com.mis.pos.dto;

import java.util.Date;

/**
 * @description: 商品列表的DTO
 * @author: yuxiang
 * @create: 2019-12-10 14:59
 **/
public class ItemDTO {

    //商品编号
    private Long id;
    //商品名称
    private String itemName;
    //商品价格
    private Double price;
    //分类
    private String className;
    //品牌
    private String brand;
    //状态
    private int isSaled;
    //上架时间
    private Date createTime;

    public ItemDTO() {
    }

    public ItemDTO(Long id, String itemName, Double price, String className, String brand, int isSaled, Date createTime) {
        this.id = id;
        this.itemName = itemName;
        this.price = price;
        this.className = className;
        this.brand = brand;
        this.isSaled = isSaled;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getIsSaled() {
        return isSaled;
    }

    public void setIsSaled(int isSaled) {
        this.isSaled = isSaled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
